package com.hancher.demo;

import android.os.Bundle;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;

import com.hancher.plugins.hrcircleprogressbar.HrCircleProgressBar;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_main);

        HrCircleProgressBar bar = findViewById(R.id.progress_bar);
        bar.setCurrentProgress(30);
        bar.setOnClickListener(v -> {
            bar.setCurrentProgress(70);
        });
    }
}